package com.ttg.web.dao.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ttg.model.mapper.BankAgentMapper;
import com.ttg.model.mapper.CityMapper;
import com.ttg.model.pojo.BankAgent;
import com.ttg.model.pojo.City;
import com.ttg.model.vo.BankAgentListVo;
import com.ttg.model.vo.CityListVo;
import com.ttg.web.dao.BankAgentDao;
import com.ttg.web.dao.CityDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class CityDaoImpl extends ServiceImpl<CityMapper, City> implements CityDao {

    @Override
    public List<CityListVo> cityList() {
        return baseMapper.cityList();
    }
}
